package cn.tedu.project.oa.assetRequisition.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class AssetRequisitionVO {
    @ApiModelProperty("领用单编号")
    private Long id;
    @ApiModelProperty("领用者员工编号")
    private Long userId;
    @ApiModelProperty("领用者上级编号")
    private Long parentId;
    @ApiModelProperty("资产编号")
    private Long assetId;
    @ApiModelProperty("资产识别码")
    private String assetCode;
    @ApiModelProperty("资产类型")
    private String assetType;
    @ApiModelProperty("品牌")
    private String assetBrand;
    @ApiModelProperty("规格")
    private String assetSpecifications;
    @ApiModelProperty("所属部门编号")
    private Long departmentId;
    @ApiModelProperty("领用数量")
    private Long num;
    @ApiModelProperty("审批状态")
    private Integer status;
    @ApiModelProperty("申请原因")
    private String reason;
    @ApiModelProperty("备注")
    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("申请时间")
    private Date applicationTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("领用时间")
    private Date useTime;
    @ApiModelProperty("驳回原因")
    private String rejectReason;
}
